home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / pbmv1e.zip / MENU.DOC < prev    next >
Text File  |  1992-12-19  |  12KB  |  382 lines

  1. Author: Robert Piskac Jr.
  2.         301 South 27th Street
  3.         Lafayette, IN 47904 USA
  4.         PH# (317)-449-4018
  5.  
  6. This software is shareware.
  7.  
  8.          $79.95 Software Price per File Server
  9.            6.00 Tax
  10.         ------------
  11.          $85.95 Total  USA
  12.  
  13. Make check out to -> Piskac Bakery Software and send to the following Address
  14.  
  15.        Piskac Bakery Software
  16.        3376 East 65 th Street
  17.        Cleveland, OH 44127 USA
  18.  
  19. Support by E-Mail or US MAIL.  If you can catch me home, I will help out.
  20.  
  21. E-MAIL: AK371@CLEVELAND.FREENET.EDU
  22.  
  23.     Program: menu.exe 40055 12-19-92  5:46p
  24.     Version: V1.14 for Novell Netware 2.X 3.X
  25. Description: This is a menu program that supports about 95% of novells
  26.              menu script language.  I included the basic commands needed
  27.              to run applications from the menu. This is not Public Domain
  28.              Software. This program is not a Novell Clone program.
  29.  
  30.   Benefits: - Menu program is not memory resident when dos applications
  31.               are running.  Frees up needed memory.
  32.             - No more goXXX.bat & restart.XXX files being stored all over
  33.               the file server.  All batch files are stored in the directory
  34.               SYS:PUBLIC\BATCH\GOBAT which you can change this path.
  35.             - Menu program has security built in.  When the menu program
  36.               is idle for 5 minutes, the screen will blank.  When the user
  37.               touches a key, the menu program will require the user to enter
  38.               her/his password.  This can be turned on/off by the supervisor.
  39.  
  40. Restrictions: -You can only open 20 pop up menus on the screen at one time.
  41.               -Version 1.14 only supports 95% of Novell Script Language.
  42.               -The menus do not scroll.
  43.               -You must have DOS 3.3 or above to use CALL DOS command.
  44.               -You MUST use the <CALL> command in the menu script for the
  45.                menu program to restart if you are calling batch files outside
  46.                the menu script. If you do not have DOS 3.3, you must not call
  47.                batch files outside of the menu script.
  48.               -Menu positions are different. The menu positions are Y,X center
  49.                positions on the screen 12,40 being the center of the screen.
  50.               -Some CGA video cards will cause snow on the screen.
  51.  
  52. Software Testing.
  53. All testing was done on a Novell Netware V3.11 single file server network.
  54. All programming was done at my friends office. Thanks ERIC for all the
  55. help and equipment. I did not want to make a Novell Clone program.
  56.  
  57. If you register the software, I will send you notifications on all
  58. enhancements.  When you send in your check please tell me...
  59.  
  60.        Name of Person Registering Software
  61.        Address and Country
  62.        Phone Number
  63.  
  64. Installation
  65.  
  66. Step 1 : Create directory SYS:PUBLIC\BATCH\GOBAT
  67.  
  68.          You can use your own directory path, but remember to set it in
  69.          the <menu>.cfg file.
  70.          TEMP=SYS:<YOUR_DIRECTORY_PATH>
  71.  
  72. Step 2 : Start syscon and give the group everyone the following rights
  73.          to the newly created directory...
  74.          READ
  75.          FILE SCAN
  76.          CREATE
  77.          ERASE
  78.          MODIFY
  79.          WRITE
  80.  
  81. Step 3 : Add the following line to your system login script.
  82.          map root ins S4:FILE_SERVER_NAME/SYS:PUBLIC\BATCH\GOBAT
  83.                            or
  84.          map root ins S4:FILE_SERVER_NAME/<YOUR_CUSTOM_PATH>
  85.  
  86. Step 4 : Backup your old Novell menu program.
  87.  
  88. Step 5 : Copy the MENU.EXE, RESTART.BAT, !LOGOUT.BAT and PBMENU.CFG files to
  89.          the SYS:PUBLIC subdirectory.
  90.  
  91.  
  92. Step 6 : Test menu program. MAKE SURE IT WORKS.
  93.          ONE - One major problem you will have with the new menu system is that
  94.                the menu program will not start back up.  This problem can be
  95.                fixed by using the DOS <CALL> command in the menu script file.
  96.  
  97.          Any time you want to CALL a batch file from the menu script, use
  98.          the CALL command.
  99.  
  100.          TWO - Old goXXX.bat files will cause problems. Please use the kill.exe
  101.                program to scan file server to remove old files.  BE CAREFUL
  102.                first backup all files on server.  The program deletes all files
  103.                that look like goXXX.bat & restart.XXX.  Where X is a number.
  104.  
  105.          EXAMPLE
  106.  
  107.          KILL /all /Delete
  108.  
  109.          Type it exactly like you see it here.  KILL is case sensitive.
  110.  
  111.          use KILL /? for help.
  112.  
  113. The menu program has worked well for me on my Novell file server.  I am
  114. interested if anyone else can use it.
  115.  
  116. What is different?
  117.  
  118. Menu Positions are different.
  119.  
  120. %Main Menu,10,40,9
  121.  
  122. %<BANNER_NAME>,<Y_MENU_CENTER_VALUE>,<X_MENU_CENTER_VALUE>,<COLOR_PALETTE>
  123.                      0 -> 24                0 -> 79             0 -> 9
  124.  
  125. Color Palette Colors
  126. --------------------
  127. 0 -> Blue    Style 1
  128. 1 -> Blue    Style 2
  129. 2 -> Black   Style 1
  130. 3 -> Black   Style 2
  131. 4 -> Magenta
  132. 5 -> Cyan
  133. 6 -> Red
  134. 7 -> Orange
  135. 8 -> Green
  136. 9 -> Gray
  137.  
  138. If you are calling a batch file from the menu program and want the menu
  139. program to restart, use the CALL statement.
  140.  
  141. Example
  142. %MAIN MENU,10,40,0
  143. 1) Word Processor Example 1
  144.      CALL WP.BAT
  145. 2) Word Processor Example 2
  146.      REM this is the wp.bat file contents
  147.      REM %user% is a dos ENV variable set at login time
  148.      map ins s4:=data:apps\dos\wp
  149.      cd \users\%user%\wp
  150.      wp.exe
  151.      map del s4:
  152.      cd \users\%user%
  153.  
  154. This is useful if you do not want the menu program to restart.  Like when
  155. you want to logout of the network.  Write a batch file that will log you
  156. out of the network.
  157.  
  158. ======!LOGOUT.BAT======
  159. @ECHO OFF
  160. MAP F:=SYS:LOGIN > NUL
  161. F:
  162. LOGOUT
  163. ======END-OF-FILE=====
  164.  
  165. MENU SCRIPT EXAMPLE
  166.  
  167. %MAIN MENU,10,40,0
  168. 1) Word Processor Example 1
  169.      @ECHO OFF
  170.      CALL WP.BAT
  171. 2) Word Processor Example 2
  172.      @ECHO OFF
  173.      REM %user% is a dos ENV variable set at login time
  174.      map ins s4:=data:apps\dos\wp
  175.      cd \users\%user%\wp
  176.      wp.exe
  177.      map del s4:
  178.      cd \users\%user%
  179.  3) LOGOUT
  180.      @ECHO OFF
  181.      REM NETWORK MENU PROGRAM WILL NOT RESTART -- CALL NOT USED --
  182.      !LOGOUT.BAT
  183.  
  184. I do not support the !LOGOUT command. You must use the !LOGOUT.BAT file
  185. that comes with this software.
  186.  
  187. I also assume that you will number your menu selections starting at
  188. 1 thru Z.  That's the letter Z.  Or A thru Z. Novell will do a string search
  189. to find the name of the selection you are typing in.  I found that the number
  190. and letter labeling works best for my users.  I try to keep it simple.
  191.  
  192. You can use the AUTONUM parameter to auto number your menu selection. The
  193. SORT parameter will sort your menu entries.
  194.  
  195. You can use the LABEL parameter to set what type of labeling you want on
  196. the menu items. By default it is numbers 1 thru 9 ,A..Z.  Use....
  197.  
  198. LABEL=LETTERS
  199.  
  200. and the menu items will be A..Z.
  201.  
  202. If you want to know more about the menu program, please write me a letter
  203. or send me E-MAIL.
  204.  
  205. Netware is a Copyright of Novell
  206.  
  207.  
  208. Configuration files:
  209.  
  210. Each menu you have can have a <menu_name>.cfg file.  The configuration file
  211. will allow the LAN Manager to....
  212.  
  213. 1) Restrict what Novell user groups can exit the menu system.  Use multiple
  214.    exit lines for more than 1 novell User Group
  215.    Default -> EVERYONE
  216.    EXIT=ACAD
  217.    EXIT=MANAGERS
  218.  
  219. 2) Set where the go000.bat files are saved.
  220.    Default -> SYS:PUBLIC\BATCH\GOBAT
  221.    TEMP=SYS:PUBLIC\BATCH\GOBAT
  222.  
  223. 3) Set the screen saver time out
  224.    Default -> 5
  225.    TIMEOUT=5
  226.  
  227. 4) Set the Screen saver prompt. Use underscores for spaces.
  228.    Default -> PB Software Menu V1.14
  229.    PROMPT=MY_COMPANY_NAME
  230.  
  231. 5) Set the Logout command. Use !LOGOUT if you have a !LOGOUT.BAT file.
  232.    Default -> LOGOUT
  233.    LOGOUT=!LOGOUT
  234.  
  235. 6) Turn passwords off
  236.    Default -> ON
  237.    PASSWORD=OFF
  238.  
  239.    NOTE: If Passwords are TURNED ON, the menu program will only ask for the
  240.          passwords for users who's passwords minimum length is greater than
  241.          zero.  Use syscon to check the users account restrictions.
  242.  
  243. 7) Sort menu Items
  244.    Default = OFF
  245.    SORT=ON
  246.  
  247. 8) Auto Number menu items
  248.    Default = OFF
  249.    AUTONUM=ON
  250.  
  251. 9) Label menu Items
  252.    Default = Numbers
  253.    LABEL=LETTERS
  254.  
  255. EXAMPLE
  256.  
  257. If you type the following command the menu system works like this.
  258.  
  259. menu main
  260.  
  261. First it will try to read a file called => main.cfg
  262. If file not found it will read => pbmenu.cfg
  263. if it cannot find either of these 2 files it will use the default values.
  264.  
  265. MENU CONFIGURATION COMMANDS Examples
  266. =============== PBMENU.CFG =====================================
  267. PROMPT=MY_COMPANY_NAME
  268. EXIT=EVERYONE
  269. PASSWORD=ON
  270. TEMP=SYS:PUBLIC\BATCH\GOBAT
  271. TIMEOUT=1
  272. LOGOUT=LOGOUT
  273. SORT=ON
  274. AUTONUM=ON
  275. LABEL=NUMBERS
  276. =================================================================
  277.  
  278. memo.exe is a message program that will display a note on the screen
  279. for 1 week then it will not show the message.  Remember the program
  280. reads the date stamp. If your message will not display, it is because
  281. the file date stamp is over 7 days old. use the up carrot to blink text.
  282. memo.exe is public domain.
  283.  
  284. ======== message.txt =======
  285. Hello ^Everyone^
  286. ============================
  287.  
  288. The word Everyone will blink.
  289.  
  290. Restriction - Only a limited amount of text will display.
  291.  
  292. usage
  293.  
  294. memo <PATH> <FILENAME>
  295.  
  296. memo  SYS:PUBLIC    MESSAGE.TXT
  297. =================================================================
  298. lmenu.exe is a menu program for the local machine on the network or stand alone
  299. machine.  It is a stripped down version of the pbmenu V1.14.  This program
  300. can read the <menu>.mnu files and <menu>.cfg files.  This program is
  301. provided free of charge with the purchase of pbmenu V1.14.
  302.  
  303. Config File parameters
  304. =======================
  305.  
  306. 1) Set where the go000.bat files are saved.
  307.    Default -> C:\DOS\
  308.    TEMP=C:\MENU\
  309.  
  310.    NOTE: Be careful remember to put a backslash at the end of the temp path.
  311.  
  312.          Correct: TEMP=A:\TEMP\
  313.        InCorrect: TEMP=A:\TEMP
  314.  
  315. 2) Set the screen saver time out
  316.    Default -> 5
  317.    TIMEOUT=5
  318.  
  319. 3) Set the Screen saver prompt. Use underscores for spaces.
  320.    Default -> PB Software Menu V1.14
  321.    PROMPT=MY_COMPANY_NAME
  322.  
  323. 4) Sort menu Items
  324.    Default = OFF
  325.    SORT=ON
  326.  
  327. 5) Auto Number menu items
  328.    Default = OFF
  329.    AUTONUM=ON
  330.  
  331. 6) Label menu Items
  332.    Default = Numbers
  333.    LABEL=LETTERS
  334.  
  335. Here is how I use the 2 programs on my network.  In each PC Node on my
  336. network, I put the lmenu.exe file in the c:\menu subdirectory. At the end
  337. of the autoexec file I put the batch file to start the menu program. I
  338. renamed the lmenu.exe file to menu.exe.
  339.  
  340. ============= m.bat ===========
  341. @ECHO OFF
  342. c:
  343. cd \menu
  344. menu local.mnu
  345. =========== end ===============
  346.  
  347. Make sure that the m.bat file is in your path.
  348.  
  349. ======= local.mnu =============
  350. %Don's Computer,12,40,0
  351. 1) LAN (DON) Local Area Network
  352.         @ECHO OFF
  353.         REM Check to see if someone forgot to logout
  354.         REM If so log them out.
  355.         IF NOT EXIST F:LOGIN.EXE GOTO :LOGOUT
  356.         F:LOGIN DON
  357.         IF ERRORLEVEL 1 GOTO :RESTART
  358.         GOTO :END
  359.         :RESTART
  360.         pause
  361.         M.BAT
  362.         GOTO :END
  363.         :LOGOUT
  364.         REM I HAVE A BATCH FILE TO LOGOUT ON MY NETWORK
  365.         LOGOUT.BAT
  366.         :END
  367. 2) LAN Local Area Network
  368.         @ECHO OFF
  369.         IF NOT EXIST F:LOGIN.EXE GOTO :LOGOUT
  370.         F:LOGIN
  371.         IF ERRORLEVEL 1 GOTO :RESTART
  372.         GOTO :END
  373.         :RESTART
  374.         pause
  375.         M.BAT
  376.         GOTO :END
  377.         :LOGOUT
  378.         REM I HAVE A BATCH FILE TO LOGOUT ON MY NETWORK
  379.         LOGOUT.BAT
  380.         :END
  381. ====================================
  382.